import org.junit.jupiter.api.Test;
import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder;
import org.springframework.security.crypto.password.PasswordEncoder;

public class test {

    @Test
    public void test() {

        BCryptPasswordEncoder encoder = new BCryptPasswordEncoder();
        String s1 = encoder.encode("123456");
        String s2 = encoder.encode("123456");
        System.out.println(s1);
        System.out.println(s2);
    }
}
